<template>
  <el-tabs v-model="activeName">
    <el-tab-pane label="表单" name="1"></el-tab-pane>
    <el-tab-pane label="动态表单" name="2"></el-tab-pane>
  </el-tabs>
  <BaseFormDemo v-if="activeName === '1'" />
  <DynamicFormDemo v-if="activeName === '2'" />
</template>

<script setup lang="ts">
import BaseFormDemo from "./components//BaseFormDemo.vue";
import DynamicFormDemo from "./components/DynamicFormDemo.vue";

const activeName = ref("1");
</script>

<style></style>
